package com.yolo;

import com.xpand.starter.canal.annotation.EnableCanalClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Author ChenBo
 * @Date 2020/10/9
 * @Version 1.0
 */
@SpringBootApplication
@EnableCanalClient
@Slf4j
public class CanalApplication {
    public static void main(String[] args) {
        SpringApplication app=new SpringApplication(CanalApplication.class);
        app.run(args);
        log.info("程序启动完毕");
        System.out.println("============启动完毕=============");
    }
}
